package com.s69.service;

import com.s69.entity.MedicalAssay;
import com.s69.mapper.MedicalAssayDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MedicalAssayService {
    @Autowired
    MedicalAssayDao medicalAssayDao;

    public List<MedicalAssay> querryList(Long hospitalId) {
        MedicalAssay medicalAssay = new MedicalAssay();
        medicalAssay.setHospitalId(hospitalId);
        return medicalAssayDao.queryAllBy(medicalAssay);
    }
}
